package com.duowei.diandan.db.entry;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

import org.joda.time.LocalDateTime;

@Entity
public class Dpzsz {
    @PrimaryKey(autoGenerate = true)
    private long id;

    private String bm;
    private String nr;
    private String fxhj;
    private String by1;
    private String by2;
    private Float by3;
    private LocalDateTime by4;

    public Dpzsz() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getBm() {
        return bm;
    }

    public void setBm(String bm) {
        this.bm = bm;
    }

    public String getNr() {
        return nr;
    }

    public void setNr(String nr) {
        this.nr = nr;
    }

    public String getFxhj() {
        return fxhj;
    }

    public void setFxhj(String fxhj) {
        this.fxhj = fxhj;
    }

    public String getBy1() {
        return by1;
    }

    public void setBy1(String by1) {
        this.by1 = by1;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy2(String by2) {
        this.by2 = by2;
    }

    public Float getBy3() {
        return by3;
    }

    public void setBy3(Float by3) {
        this.by3 = by3;
    }

    public LocalDateTime getBy4() {
        return by4;
    }

    public void setBy4(LocalDateTime by4) {
        this.by4 = by4;
    }

    public static String querySql() {
        return "SELECT bm, nr, fxhj, by1, by2, by3, by4 FROM dpzsz|";
    }
}
